package net.messagenet.mazor.web.DO;

/**
 * This object represents a dpa file and it's state
 * 
 * @author Idan
 *
 */

public class DpaFile {
	public static final String PENDEING = "Pending";
	public static final String SUCCESS = "Success";
	private String name;
    private long length;
    private String state;
    private String path;
   /**
    * 
    * returns the path of the file
    * 
    * @return path
    */
    public String getPath() {
		return path;
	}
    /**
     * sets the path of the file
     * 
     * @param path
     */
	public void setPath(String path) {
		this.path = path;
	}
	/**
	 * 
	 * returns the state of the file
	 *  
	 * @return state
	 */
	public String getState() {
		return state;
	}
	/**
	 * sets the state of the file
	 * 
	 * @param state
	 */
	public void setState(String state) {
		this.state = state;
	}
	/**
	 *  returns the name of the file
	 * 
	 * @return name
	 */
	public String getName() {
        return name;
    }
	/**
	 * 
	 * sets the name of the file
	 * 
	 * @param name
	 */
    public void setName(String name) {
        this.name = name;
    }
	/**
	 *  returns the length of the file
	 * 
	 * @return length
	 */
	
    public long getLength() {
        return length;
    }
    /**
     * sets the length of the file
     * 
     * @param length
     */
    public void setLength(long length) {
        this.length = length;
    }
    
}
